package com.sz.biz.logistics.base.dto;

import com.sz.common.base.entity.Entity;

/**
 * Function: 地址Moddel <br>
 * Author: hpeng.wang. <br>
 * Date: 2017-04-20 13:53:00.
 */
public class AddressModel implements Entity {
    /**
     * 国家
     */
    private String countryCode;
    /**
     * 国家名字
     */
    private String countryName;

    /**
     * 省份
     */
    private String provinceId;
    /**
     * 省份名字,做dto展示
     */
    private String provinceName;

    /**
     * 城市
     */
    private String cityId;
    /**
     * 城市名字,做dto展示
     */
    private String cityName;

    /**
     * 地区
     */
    private String districtId;
    /**
     * 地区名字
     */
    private String districtName;
    /**
     * 街道
     */
    private String streetId;
    /**
     * 街道名字
     */
    private String streetName;

    /**
     * 详细地址
     */
    private String address;

    private String postcode;
    private String email;
    /**
     * 运输类型
     */
    private Integer transportType;
    /**
     * 运输类型
     */
    private String transportTypeName;
	/**
     * 运输工具Id
     */
    private Integer transportId;

    private String transportName;

    private String transportEnglishName;

    private String transportCode;


    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    public String getCountryName() {
        return countryName;
    }

    public void setCountryName(String countryName) {
        this.countryName = countryName;
    }

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getDistrictId() {
        return districtId;
    }

    public void setDistrictId(String districtId) {
        this.districtId = districtId;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getStreetId() {
        return streetId;
    }

    public void setStreetId(String streetId) {
        this.streetId = streetId;
    }

    public String getStreetName() {
        return streetName;
    }

    public void setStreetName(String streetName) {
        this.streetName = streetName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Integer getTransportType() {
        if(transportType == null){
            return 0;
        }
  		return transportType;
  	}

  	public void setTransportType(Integer transportType) {
        if (transportType == null) {
            this.transportType = 0;
        }else{
            this.transportType = transportType;
        }
  	}

    public String getTransportTypeName() {
        return transportTypeName;
    }

    public void setTransportTypeName(String transportTypeName) {
        this.transportTypeName = transportTypeName;
    }

    public Integer getTransportId() {
        if (transportId == null) {
            return 0;
        }
        return transportId;
    }

    public void setTransportId(Integer transportId) {
        if (transportId == null) {
            this.transportId = 0;
        }
        else {
            this.transportId = transportId;
        }
    }

    public String getTransportCode() {
        return transportCode;
    }

    public void setTransportCode(String transportCode) {
        this.transportCode = transportCode;
    }

    public String getTransportName() {
        return transportName;
    }

    public void setTransportName(String transportName) {
        this.transportName = transportName;
    }

    public String getTransportEnglishName() {
        return transportEnglishName;
    }

    public void setTransportEnglishName(String transportEnglishName) {
        this.transportEnglishName = transportEnglishName;
    }
}
